package com.example.yyh.recorddemo.utils;

/**
 * Created by yaoyihang on 2018/12/1.
 */

public class DateUtils {
    /**
     * 格式化时间
     * @param time
     * @return
     */
    public static String getMSTime(int time) {
        time = time / 1000;
        return String.format("%1$02d:%2$02d:%3$02d", time / 3600, time % 3600 / 60, time % 60);
    }
}
